<?php
class Tag_Comment{
	
	public static $XSL;
}
Tag_Comment::$XSL = <<<EOD
<xsl:template match="i:comment">
<script type="text/javascript" src="/res/editor/js/webeditor.js"></script>
<script type="text/javascript" src="/js/UBBCode.js"></script>
<div class="comment" id="{@app}_{@controller}_{@action}_{@id}"></div>
<script type="text/javascript"> comments.app_comment('<xsl:value-of select="@app"/>','<xsl:value-of select="@controller"/>','<xsl:value-of select="@action"/>','<xsl:value-of select="@id"/>','<xsl:value-of select="@res_uid"/>', '<xsl:value-of select="@encrypt"/>', '<xsl:value-of select="@uid"/>'); </script>
</xsl:template>
EOD;
